
  public class Sum {
    public static int sum(int a, int b){
        return a + b;
    }
    public static double sum1(double a, double b, double c){
        return a + b + c;
    }


    public static void main(String[] args) {
        int k = sum(1,6);
       double p = sum1(1.0, 3.5, 7.9);
        System.out.println(k);
        System.out.println(p);
    }
}